package cn.wolfcode.service;

import cn.wolfcode.domain.Business;
import cn.wolfcode.qo.BusinessQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBusinessService {

    void save(Business business);

    void delete(Long id);

    void update(Business business);

    Business get(Long id);

    List<Business> listAll();

    // 分页查询方法
    PageInfo<Business> query(BusinessQueryObject qo);

    Business queryMainStore();


}